#ifndef __W5500_PORT_H_
#define __W5500_PORT_H_

#include "w5500.h"
#include "socket.h"

void W5500_RESET(void);
int W5500_ChipInit(void);

void Set_IP(uint8_t ip1, uint8_t ip2, uint8_t ip3, uint8_t ip4);
void Set_MAC(uint8_t mac1, uint8_t mac2, uint8_t mac3, uint8_t mac4, uint8_t mac5, uint8_t mac6);
void Set_GW(uint8_t gw1, uint8_t gw2, uint8_t gw3, uint8_t gw4);
void Set_SUB(uint8_t sn1, uint8_t sn2, uint8_t sn3, uint8_t sn4);
void Set_DNS(uint8_t dns1, uint8_t dns2, uint8_t dns3, uint8_t dns4);
void Set_Debug_Net(uint8_t gw3, uint8_t ip4);
#endif
